﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace GestorDeFlotasDesktop
{
    class Conexion
    {
        public string LeerConexion()
        {
            try
            {
                return ConfigurationManager.ConnectionStrings["GestorDeFlotasDesktop.Properties.Settings.GD1C2012ConnectionString"].ConnectionString;
            }
            catch (Exception e)
            {
                throw new Exception(e.Message);
            }
        }
    }
}
